package com.meatball.iot.driver.smokealarm.data

import com.alibaba.fastjson.annotation.JSONField

/**
 * TODO 数据类
 *
 * @property msgType 消息类型
 * @property msgId 消息ID
 * @property msgPath 消息路径
 * @property data 数据
 * @property code 状态
 */
data class DiInfoDto(
    val msgType: String,
    val msgId: String,
    val msgPath: String,
    val data: Data,
    val code: Int
) {
    data class Data(
        @JSONField(name = "0")
        val one: Int,
        @JSONField(name = "1")
        val two: Int,
        @JSONField(name = "2")
        val three: Int,
        @JSONField(name = "3")
        val four: Int
    )
}
